package com.ghck.server.service;
import java.util.List;

import com.ghck.server.model.FriendTreatmentPic;
import com.ghck.server.model.query.FriendTreatmentPicQuery;

/**
 * 亲友就诊图片  <br>
 * t_friend_treatment_pic <br>
 * v1.0 2016-05-01
 */
 public interface FriendTreatmentPicService {
	
	/**
 	*根据ID删除 亲友就诊图片
 	*/
 	public Integer deleteFriendTreatmentPicById(Integer id);
 	
 	/**
 	*新增 亲友就诊图片
 	*/
 	public Integer batchInsertFriendTreatmentPic(List<? extends FriendTreatmentPic> friendTreatmentPics);
 	
 	/**
 	*新增 亲友就诊图片
 	*/
 	public Integer insertFriendTreatmentPic(FriendTreatmentPic domain);
 
 	
 	/**
 	*更新 亲友就诊图片
 	*/
 	public Integer updateFriendTreatmentPic(FriendTreatmentPic domain);
 	
 	/**
 	*根据ID查询 亲友就诊图片
 	*/
 	public FriendTreatmentPic findFriendTreatmentPicById(Integer id);

	/**
 	*通过query 查询 亲友就诊图片
 	*/
	public List<FriendTreatmentPic> findFriendTreatmentPicByQuery(FriendTreatmentPicQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countFriendTreatmentPicByQuery(FriendTreatmentPicQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<FriendTreatmentPic> findFriendTreatmentPicByIds(List<Integer> ids);
 	
}	